namespace Redis_demo.Options;

public class RedisConnectOptions
{
    public bool AbortOnConnectFail{get;set;}
    public int ConnectTimeout{get;set;}
    public string Password { get; set; }
    public bool AllowAdmin{get;set;}
    public bool Ssl{get;set;}
    public string ClientName{get;set;}
    public int DefaultDatabase{get;set;}
    public string Url{get;set;}
    public int Port{get;set;}
}

public class RedisSettings
{
    public string Host { get; set; }
    public int Port { get; set; }
    public string Password { get; set; }
}

